<?php

namespace App\Http\Services;
/*赠送记录*/
use App\Http\Model\ShareSendGoods;

class ShareSendGoodsServices extends CommonServices
{
    public $shareSendGoods_model;
    public function __construct()
    {
        $this->shareSendGoods_model = new ShareSendGoods();
    }
    /*
     * 添加赠送记录
     * */
    public function createSendGoodsServices($data)
    {

        return $this->shareSendGoods_model->createSendGoodsLog($data);
    }


    /*
         * 查看是否已经赠送
         * @param [$user_id]   用户id
         * */
    public function sendLog($user_id)
    {
        return $this->shareSendGoods_model->sendUserLog($user_id);
    }



}